﻿@*
    TicketDesk - Attribution notice
    Contributor(s):

         Stephen Redd (stephen@reddnet.net, http://www.reddnet.net)

    This file is distributed under the terms of the Microsoft Public
    License (Ms-PL). See http://opensource.org/licenses/MS-PL
    for the complete terms of use.

    For any distribution that contains code from this file, this notice of
    attribution must remain intact, and a copy of the license must be
    provided to the recipient.
*@
<div class="form-group">
    @if (User.Identity.IsAuthenticated && User.IsInRole("TdAdministrators"))
    {
        <div class="input-group input-group-sm">
            <span class="dropdown">
                <button href="#" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
                    <i class="fa fa-gears"></i>
                    <span class="hidden-sm hidden-xs">Settings</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu dropdown-menu-right" role="menu">
                    @Html.Partial("_AdminMenuItems")
                </ul>
            </span>
        </div>
    }


</div>